package com.core.image.core;

import java.io.Closeable;
import java.io.IOException;

public interface Sender extends Closeable {
    void  setSendListener(IoArgs.IoArgsEventProcessor listener);
    boolean postSendAsync() throws IOException;

    /**
     * 获取输出数据的时间
     * @return
     */
    long getLastWriteTime();
}
